package com.fly.platform.base.mapper.elasticsearch

import com.fly.platform.base.pojo.elasticsearch.EsLog
import org.springframework.data.domain.Page
import org.springframework.data.domain.Pageable
import org.springframework.data.elasticsearch.repository.ElasticsearchRepository

/**
 * @author Fly
 */
interface EsLogMapper : ElasticsearchRepository<EsLog?, String?> {

    /**
     * 通过类型获取
     * @param type
     * @return
     */
    fun findByLogType(type: Int?, pageable: Pageable?): Page<EsLog?>?
}